package com.ruoyi.warehousing.mapper;

import com.ruoyi.warehousing.domain.WarehousingRecords;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WarehousingRecordsMapper {


    public List<WarehousingRecords> selectMateWarehousingRecords(WarehousingRecords warehousingRecords);

    /**
     * 查询库存信息
     *
     * @return 结果
     */
    List<WarehousingRecords> selectWarehousingRecords(WarehousingRecords warehousingRecords);


    /**
     * 插入库存 入库数据 统计信息
     *
     * @param warehousingRecords 库存信息
     * @return 结果
     */
    int insertWarehousingRecords(WarehousingRecords warehousingRecords);

    /**
     * 查询库存信息
     *
     * @return 结果
     */
    List<WarehousingRecords> selectWarehousingRecordsAll();
    void deleteWarehousingRecords(@Param("orderNum" ) String orderNum );

}
